package com.hns.can.master.entity;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;
import com.hns.tool.pub.PubUtil;

/**
 * 驾驶员安全行为
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_COMM_DRV_SCT_BHV_INFO")
public class CommDrvSctBhvInfoEntity extends BaseEntity{
    
    @Id
    @Column(name = "RCRD_ID")
    private String     rcrdId;
    
    @Column(name = "CORP_ID")
    private String     corpId;
    
    @Column(name = "ORGAN_ID")
    private String     organId;
    
    @Column(name = "LINE_ID")
    private String     lineId;
    
    @Column(name = "CAR_ID")
    private String     carId;
    
    @Column(name = "DRV_ID")
    private String     drvId;
    
    @Column(name = "RCRD_TIME")
    private String     rcrdTime;
    
    @Column(name = "RCRD_JRNL_NO")
    private String     rcrdJrnlNo;
    
    @Column(name = "EQMT_CODE")
    private String     eqmtCode;
    
    @Column(name = "LIC_PLT_NO")
    private String     licPltNo;
    
    @Column(name = "LINE_CODE")
    private String     lineCode;
    
    @Column(name = "DRV_SCT_BHV")
    private String     drvSctBhv;
    
    @Column(name = "SCT_BHV_BEGIN_TIME")
    private String     sctBhvBeginTime;
    
    @Column(name = "SCT_BHV_END_TIME")
    private String     sctBhvEndTime;
    
    @Column(name = "UP_DN")
    private String     upDn;
    
    @Column(name = "PRVS_STN_NO")
    private String     prvsStnNo;
    
    @Column(name = "NEXT_STN_NO")
    private String     nextStnNo;
    
    @Column(name = "BEGIN_LO_LGT")
    private BigDecimal beginLoLgt;
    
    @Column(name = "BEGIN_LO_LTT")
    private BigDecimal beginLoLtt;
    
    @Column(name = "END_LO_LGT")
    private BigDecimal endLoLgt;
    
    @Column(name = "END_LO_LTT")
    private BigDecimal endLoLtt;
    
    @Column(name = "GEN_TIME")
    private Date  genTime;
    
    @Column(name = "BEGIN_LO_DRC")
    private BigDecimal beginLoDrc;
    
    @Column(name = "END_LO_DRC")
    private BigDecimal endLoDrc;
    
    @Column(name = "RESERVED_FIELD_1")
    private BigDecimal reservedField1;
    
    @Column(name = "RESERVED_FIELD_2")
    private BigDecimal reservedField2;
    
    @Column(name = "RESERVED_FIELD_3")
    private BigDecimal reservedField3;
    
    @Column(name = "RESERVED_FIELD_4")
    private BigDecimal reservedField4;
    
    @Column(name = "RESERVED_FIELD_5")
    private String     reservedField5;
    
    @Column(name = "RESERVED_FIELD_6")
    private String     reservedField6;
    
    @Column(name = "RESERVED_FIELD_7")
    private String     reservedField7;
    
    @Column(name = "RESERVED_FIELD_8")
    private String     reservedField8;

    @Transient
    private BigDecimal ranking;//排名
    @Transient
    private BigDecimal drvcount;
    @Transient
    private String     drvName;
    @Transient
    private String     lineName;
    @Transient
    private String     organName;
    @Transient
    private String		carType;	//车辆类型

    @Transient
    private BigDecimal lineAverage;//线路平均

	@Transient
    private String     duration;
    @Transient
    private String     address;
    @Transient
    private String     happentime;
    @Transient
    private String     happenlocation;
    @Transient
    private BigDecimal totalbhvcount;
    @Transient
    private String operDate;
    @Transient
    private BigDecimal bhv1count;
    @Transient
    private BigDecimal bhv2count;
    @Transient
    private BigDecimal bhv3count;
    @Transient
    private BigDecimal bhv4count;
    @Transient
    private BigDecimal bhv5count;
    @Transient
    private BigDecimal bhv6count;
    @Transient
    private BigDecimal bhv7count;
    @Transient
    private BigDecimal bhv8count;
    @Transient
    private BigDecimal bhv9count;
    @Transient
    private BigDecimal bhv10count;
    @Transient
    private BigDecimal bhv11count;
    @Transient
    private BigDecimal bhv12count;
    @Transient
    private BigDecimal bhv13count;
    @Transient
    private BigDecimal bhv14count;
    @Transient
    private BigDecimal bhv15count;

    @Transient
    private BigDecimal bhv17count;
    
    @Transient
    private BigDecimal totalMile;//总里程
    @Transient
    private String rcrdData; //日期
    @Transient
    private String totalOprtDura;//运行时长
    
    @Transient
    private String carInCd;	//车辆内部编号
    
    @Transient
    private BigDecimal spedCnt;//超速统计（手机）
    
    // ---------------------------------------
    public static final String TABLENAME = "T_COMM_DRV_SCT_BHV_INFO";
    
    // -------------------------------------
    @Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        
        CommDrvSctBhvInfoEntity other = (CommDrvSctBhvInfoEntity) obj;
        
        if ((PubUtil.isEmpty(this.corpId) && PubUtil.isNotEmpty(other.corpId)) || !this.corpId.equals(other.corpId)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.eqmtCode) && PubUtil.isNotEmpty(other.eqmtCode)) || !this.eqmtCode.equals(other.eqmtCode)) {
            return false;
        }
        
        if ((PubUtil.isEmpty(this.rcrdTime) && PubUtil.isNotEmpty(other.rcrdTime)) || !this.rcrdTime.equals(other.rcrdTime)) {
            return false;
        }
        
        return true;
    }
    
    public CommDrvSctBhvInfoEntity() {
    }

    public BigDecimal getBhv17count() {
        return bhv17count;
    }

    public void setBhv17count(BigDecimal bhv17count) {
        this.bhv17count = bhv17count;
    }

    public String getRcrdId() {
        return this.rcrdId;
    }
    
    public void setRcrdId(String rcrdId) {
        this.rcrdId = rcrdId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    public String getLineId() {
        return this.lineId;
    }
    
    public void setLineId(String lineId) {
        this.lineId = lineId;
    }
    
    public String getCarId() {
        return this.carId;
    }
    
    public void setCarId(String carId) {
        this.carId = carId;
    }
    
    public String getDrvId() {
        return this.drvId;
    }
    
    public void setDrvId(String drvId) {
        this.drvId = drvId;
    }
    
    public String getRcrdTime() {
        return this.rcrdTime;
    }
    
    public void setRcrdTime(String rcrdTime) {
        this.rcrdTime = rcrdTime;
    }
    
    public String getRcrdJrnlNo() {
        return this.rcrdJrnlNo;
    }
    
    public void setRcrdJrnlNo(String rcrdJrnlNo) {
        this.rcrdJrnlNo = rcrdJrnlNo;
    }
    
    public String getEqmtCode() {
        return this.eqmtCode;
    }
    
    public void setEqmtCode(String eqmtCode) {
        this.eqmtCode = eqmtCode;
    }
    
    public String getLicPltNo() {
        return this.licPltNo;
    }
    
    public void setLicPltNo(String licPltNo) {
        this.licPltNo = licPltNo;
    }
    
    public String getLineCode() {
        return this.lineCode;
    }
    
    public void setLineCode(String lineCode) {
        this.lineCode = lineCode;
    }
    
    public String getDrvSctBhv() {
        return this.drvSctBhv;
    }
    
    public void setDrvSctBhv(String drvSctBhv) {
        this.drvSctBhv = drvSctBhv;
    }
    
    public String getSctBhvBeginTime() {
        return this.sctBhvBeginTime;
    }
    
    public void setSctBhvBeginTime(String sctBhvBeginTime) {
        this.sctBhvBeginTime = sctBhvBeginTime;
    }
    
    public String getSctBhvEndTime() {
        return this.sctBhvEndTime;
    }
    
    public void setSctBhvEndTime(String sctBhvEndTime) {
        this.sctBhvEndTime = sctBhvEndTime;
    }
    
    public String getUpDn() {
        return this.upDn;
    }
    
    public void setUpDn(String upDn) {
        this.upDn = upDn;
    }
    
    public String getPrvsStnNo() {
        return this.prvsStnNo;
    }
    
    public void setPrvsStnNo(String prvsStnNo) {
        this.prvsStnNo = prvsStnNo;
    }
    
    public String getNextStnNo() {
        return this.nextStnNo;
    }
    
    public void setNextStnNo(String nextStnNo) {
        this.nextStnNo = nextStnNo;
    }
    
    public BigDecimal getBeginLoLgt() {
        return this.beginLoLgt;
    }
    
    public void setBeginLoLgt(BigDecimal beginLoLgt) {
        this.beginLoLgt = beginLoLgt;
    }
    
    public BigDecimal getBeginLoLtt() {
        return this.beginLoLtt;
    }
    
    public void setBeginLoLtt(BigDecimal beginLoLtt) {
        this.beginLoLtt = beginLoLtt;
    }
    
    public BigDecimal getEndLoLgt() {
        return this.endLoLgt;
    }
    
    public void setEndLoLgt(BigDecimal endLoLgt) {
        this.endLoLgt = endLoLgt;
    }
    
    public BigDecimal getEndLoLtt() {
        return this.endLoLtt;
    }
    
    public void setEndLoLtt(BigDecimal endLoLtt) {
        this.endLoLtt = endLoLtt;
    }
    
    public Date getGenTime() {
        return this.genTime;
    }
    
    public void setGenTime(Date genTime) {
        this.genTime = genTime;
    }
    
    public BigDecimal getBeginLoDrc() {
        return beginLoDrc;
    }
    
    public void setBeginLoDrc(BigDecimal beginLoDrc) {
        this.beginLoDrc = beginLoDrc;
    }
    
    public BigDecimal getEndLoDrc() {
        return endLoDrc;
    }
    
    public void setEndLoDrc(BigDecimal endLoDrc) {
        this.endLoDrc = endLoDrc;
    }
    
    public BigDecimal getReservedField1() {
        return reservedField1;
    }
    
    public void setReservedField1(BigDecimal reservedField1) {
        this.reservedField1 = reservedField1;
    }
    
    public BigDecimal getReservedField2() {
        return reservedField2;
    }
    
    public void setReservedField2(BigDecimal reservedField2) {
        this.reservedField2 = reservedField2;
    }
    
    public BigDecimal getReservedField3() {
        return this.reservedField3;
    }
    
    public void setReservedField3(BigDecimal reservedField3) {
        this.reservedField3 = reservedField3;
    }
    
    public BigDecimal getReservedField4() {
        return this.reservedField4;
    }
    
    public void setReservedField4(BigDecimal reservedField4) {
        this.reservedField4 = reservedField4;
    }
    
    public String getReservedField5() {
        return this.reservedField5;
    }
    
    public void setReservedField5(String reservedField5) {
        this.reservedField5 = reservedField5;
    }
    
    public String getReservedField6() {
        return this.reservedField6;
    }
    
    public void setReservedField6(String reservedField6) {
        this.reservedField6 = reservedField6;
    }
    
    public String getReservedField7() {
        return this.reservedField7;
    }
    
    public void setReservedField7(String reservedField7) {
        this.reservedField7 = reservedField7;
    }
    
    public String getReservedField8() {
        return this.reservedField8;
    }
    
    public void setReservedField8(String reservedField8) {
        this.reservedField8 = reservedField8;
    }

    public BigDecimal getRanking() {
        return ranking;
    }

    public void setRanking(BigDecimal ranking) {
        this.ranking = ranking;
    }
    
    public BigDecimal getDrvcount() {
        return drvcount;
    }
    
    public void setDrvcount(BigDecimal drvcount) {
        this.drvcount = drvcount;
    }
    
    public String getDrvName() {
        return drvName;
    }
    
    public void setDrvName(String drvName) {
        this.drvName = drvName;
    }
    
    public String getLineName() {
        return lineName;
    }
    
    public void setLineName(String lineName) {
        this.lineName = lineName;
    }
    
    public String getOrganName() {
        return organName;
    }
    
    public void setOrganName(String organName) {
        this.organName = organName;
    }
    
    public String getDuration() {
        return duration;
    }
    
    public void setDuration(String duration) {
        this.duration = duration;
    }
    
    public String getAddress() {
        return address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }
    
    public String getHappenlocation() {
        return happenlocation;
    }
    
    public void setHappenlocation(String happenlocation) {
        this.happenlocation = happenlocation;
    }
    
    public BigDecimal getTotalbhvcount() {
        return totalbhvcount;
    }
    
    public void setTotalbhvcount(BigDecimal totalbhvcount) {
        this.totalbhvcount = totalbhvcount;
    }
    
    public BigDecimal getBhv1count() {
        return bhv1count;
    }
    
    public void setBhv1count(BigDecimal bhv1count) {
        this.bhv1count = bhv1count;
    }
    
    public BigDecimal getBhv2count() {
        return bhv2count;
    }
    
    public void setBhv2count(BigDecimal bhv2count) {
        this.bhv2count = bhv2count;
    }
    
    public BigDecimal getBhv3count() {
        return bhv3count;
    }
    
    public void setBhv3count(BigDecimal bhv3count) {
        this.bhv3count = bhv3count;
    }
    
    public BigDecimal getBhv4count() {
        return bhv4count;
    }
    
    public void setBhv4count(BigDecimal bhv4count) {
        this.bhv4count = bhv4count;
    }
    
    public BigDecimal getBhv5count() {
        return bhv5count;
    }
    
    public void setBhv5count(BigDecimal bhv5count) {
        this.bhv5count = bhv5count;
    }
    
    public BigDecimal getBhv6count() {
        return bhv6count;
    }
    
    public void setBhv6count(BigDecimal bhv6count) {
        this.bhv6count = bhv6count;
    }
    
    public BigDecimal getBhv7count() {
        return bhv7count;
    }
    
    public void setBhv7count(BigDecimal bhv7count) {
        this.bhv7count = bhv7count;
    }
    
    public BigDecimal getBhv8count() {
        return bhv8count;
    }
    
    public void setBhv8count(BigDecimal bhv8count) {
        this.bhv8count = bhv8count;
    }
    
    public BigDecimal getBhv9count() {
        return bhv9count;
    }
    
    public void setBhv9count(BigDecimal bhv9count) {
        this.bhv9count = bhv9count;
    }

    public String getOperDate() {
        return operDate;
    }

    public void setOperDate(String operDate) {
        this.operDate = operDate;
    }

    public BigDecimal getBhv10count() {
        return bhv10count;
    }

    public void setBhv10count(BigDecimal bhv10count) {
        this.bhv10count = bhv10count;
    }

    public BigDecimal getBhv11count() {
        return bhv11count;
    }

    public void setBhv11count(BigDecimal bhv11count) {
        this.bhv11count = bhv11count;
    }

    public BigDecimal getBhv12count() {
        return bhv12count;
    }

    public void setBhv12count(BigDecimal bhv12count) {
        this.bhv12count = bhv12count;
    }

    public BigDecimal getBhv13count() {
        return bhv13count;
    }

    public void setBhv13count(BigDecimal bhv13count) {
        this.bhv13count = bhv13count;
    }
    
    public BigDecimal getBhv14count() {
		return bhv14count;
	}

	public void setBhv14count(BigDecimal bhv14count) {
		this.bhv14count = bhv14count;
	}

	public String getCarType() {
		return carType;
	}

	public void setCarType(String carType) {
		this.carType = carType;
	}

	public String getCarInCd() {
		return carInCd;
	}

	public void setCarInCd(String carInCd) {
		this.carInCd = carInCd;
	}

	public String getHappentime() {
		return happentime;
	}

	public void setHappentime(String happentime) {
		this.happentime = happentime;
	}

	public String getRcrdData() {
		return rcrdData;
	}

	public void setRcrdData(String rcrdData) {
		this.rcrdData = rcrdData;
	}

	public BigDecimal getTotalMile() {
		return totalMile;
	}

	public void setTotalMile(BigDecimal totalMile) {
		this.totalMile = totalMile;
	}

	public String getTotalOprtDura() {
		return totalOprtDura;
	}

	public void setTotalOprtDura(String totalOprtDura) {
		this.totalOprtDura = totalOprtDura;
	}

	public BigDecimal getSpedCnt() {
		return spedCnt;
	}

	public void setSpedCnt(BigDecimal spedCnt) {
		this.spedCnt = spedCnt;
	}

	public BigDecimal getBhv15count() {
		return bhv15count;
	}

	public void setBhv15count(BigDecimal bhv15count) {
		this.bhv15count = bhv15count;
	}

    public BigDecimal getLineAverage() {
        return lineAverage;
    }

    public void setLineAverage(BigDecimal lineAverage) {
        this.lineAverage = lineAverage;
    }
}
